<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/swiper.min.css">
    <link rel="stylesheet" href="css/animate.min.css">
    <link rel="stylesheet" href="css/stylecms.css">
    <link rel="stylesheet" href="./css/index.css">

    <style>
        html,
        body {
            position: relative;
            height: 100%;
        }

        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
        }

        .swiper-container {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .swiper-button-next {
            /* left: 10%; */
            transform: translate(-40%, 0%);
        }

        .swiper-button-prev {
            /* left: 150%; */
            transform: translate(40%, 0%);
        }
    </style>
</head>

<body>
    <div class="normal">
        <div class="box">
            <div class="swiper-container" style="width: 100%; height: 100%;">
                <div class="swiper-wrapper" style="width: 100%; height: 100%;">
                    <div class="swiper-slide">
                        <div class="swiperImg p1_1"></div>
                    </div>
                    <div class="swiper-slide">
                        <div class="swiperImg p1_2">
                            <a href="./京剧简介.html" style="width: 100%;height: 100%;">
                            </a>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="swiperImg p1_3">
                            <a href="./京剧起源.html" style="width: 100%;height: 100%;">
                            </a>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="swiperImg p1_4">
                            <a href="./京剧四大功夫.html" style="width: 100%;height: 100%;">
                            </a>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="swiperImg p1_5">
                            <a href="./京剧行当.html" style="width: 100%;height: 100%;">
                            </a>
                        </div>
                    </div>
                </div>


            </div>
            <!-- Add Pagination -->
            <div class="circle_next">
                <div class="swiper-button-next"></div>
            </div>
            <div class="circle_prev">
                <div class="swiper-button-prev"></div>
            </div>
        </div>
    </div>
    <div class="callback">
        <div class="animate">
            <div class="loading">
                <div class="loading-square"></div>
                <div class="loading-square"></div>
                <div class="loading-square"></div>
                <div class="loading-square"></div>
            </div>
        </div>
    </div>
    <script src="./js/jquery.min.js"></script>
    <script src="./js/idnex.js"></script>
    <script src="js/swiper.min.js"></script>
    <script src="./js/swiper.animate1.0.3.min.js"></script>
    <script>
        var mySwiper = new Swiper('.swiper-container', {
            onInit: function (swiper) { //Swiper2.x的初始化是onFirstInit
                swiperAnimateCache(swiper); //隐藏动画元素
                swiperAnimate(swiper); //初始化完成开始动画
            },
            onSlideChangeEnd: function (swiper) {
                swiperAnimate(swiper); //每个slide切换结束时也运行当前slide动画
            },
            pagination: '.swiper-pagination',
            nextButton: '.swiper-button-next',
            prevButton: '.swiper-button-prev',
            paginationClickable: true,
            spaceBetween: 30,
            centeredSlides: true,
            autoplay: 2500,
            autoplayDisableOnInteraction: true
        });
    </script>

</body>

</html>